import type { App } from 'vue'
import ThreeDemo from './ThreeDemo.vue'

// 为组件添加 install 方法，用于按需引入，在app.use挂载
ThreeDemo.name = 'ThreeDemo'
ThreeDemo.install = (app: App) => {
    app.component(ThreeDemo.name as string, ThreeDemo)
}

export default ThreeDemo